package com.etoppaas.performance.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 表 per_template
 * 
 * @author ruoyi
 * @date 2019-06-05
 */
public class PerTemplate extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private Long templateId;
	/** 模板名称 */
	private String templateName;
	/**  */
	private String description;
	/** 生效时间 */
	private Date enableStartTime;
	/** 失效时间 */
	private Date enableEndTime;
	/**  */
	private Long createor;

	public void setTemplateId(Long templateId) 
	{
		this.templateId = templateId;
	}

	public Long getTemplateId() 
	{
		return templateId;
	}
	public void setTemplateName(String templateName) 
	{
		this.templateName = templateName;
	}

	public String getTemplateName() 
	{
		return templateName;
	}
	public void setDescription(String description) 
	{
		this.description = description;
	}

	public String getDescription() 
	{
		return description;
	}
	public void setEnableStartTime(Date enableStartTime) 
	{
		this.enableStartTime = enableStartTime;
	}

	public Date getEnableStartTime() 
	{
		return enableStartTime;
	}
	public void setEnableEndTime(Date enableEndTime) 
	{
		this.enableEndTime = enableEndTime;
	}

	public Date getEnableEndTime() 
	{
		return enableEndTime;
	}
	public void setCreateor(Long createor)
	{
		this.createor = createor;
	}

	public Long getCreateor()
	{
		return createor;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("templateId", getTemplateId())
            .append("templateName", getTemplateName())
            .append("description", getDescription())
            .append("enableStartTime", getEnableStartTime())
            .append("enableEndTime", getEnableEndTime())
            .append("createor", getCreateor())
            .toString();
    }
}
